package com.zzq.controller;

import io.swagger.annotations.*;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Api(value = "测试的操作类")
@Controller
public class HelloController {


    @ApiOperation("测试方法")
    @GetMapping("/")
    @ResponseBody
    public String hello() {
        return "Hello World";
    }
}
